#include "widget.h"

#include "AVDeMuxer.h"

#include <QApplication>
#include <QDebug>


void CallBack(bool re)
{
    qDebug() <<"获取流结果:"<< re;
}

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    // Widget w;
    // w.show();
    AVDeMuxer muxer;
    muxer.SetStreamCallback(CallBack);
    QString path = "D:\Qt\2024-06-11 16-40-42.mp4";
    muxer.Open(path);
    return a.exec();
}
